import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.*;

/**
 * Created by ospip on 2018/10/31.
 * Copyright (c) 2018 LLAP. All rights reserved.
 */
public abstract class PanelBuilder {
    JPanel panel;

    public PanelBuilder() {
        panel = new JPanel(new GridLayout(1, 3, 10, 10));
        panel.setBorder(new EmptyBorder(10, 10, 10, 10));
    }

    public abstract void buildButton();
    public abstract void buildLabel();
    public abstract void buildTextField();
    public abstract JPanel build();
}
